package com.clwl.supervise.superviseapp.mapper.risk;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.risk.JgStaticProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JgStaticProjectMapper extends BaseMapper<JgStaticProject> {

    /**
     * 查询检查项
     * @return
     */
    List<JgStaticProject> selectStaticProjectList(@Param("supProcess") String supProcess , @Param("companyTypeId") Long companyTypeId);

    /**
     * 查询检查项
     * @return
     */
    List<JgStaticProject> selectStaticProjectByScoringList(@Param("supProcess") String supProcess , @Param("companyTypeId") Long companyTypeId,@Param("scoringId") Long scoringId);
    /**
     * 查询静态评分模版列表
     * @param scoringId
     * @return
     */
    List<JgStaticProject> findProjectTreeList(@Param("scoringId") Long scoringId);
}